package com.wj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.common.base.PageResult;
import com.hospital.common.dto.upload.module.DeleteFilesContactDto;
import com.hospital.common.dto.upload.module.FindOnePostWithResourceContactDto;
import com.hospital.common.dto.upload.module.FindPostWithResourceCountDto;
import com.hospital.common.dto.upload.module.SavePicturePathDto;
import com.hospital.common.pojo.TResource;
import com.hospital.common.vo.upload.module.FindOneContentWithResourceVo;

/**
 * <p>
 * 资源映射表 服务类
 * </p>
 *
 * @author author
 * @since 2025-09-26
 */
public interface ITResourceService extends IService<TResource> {

    Integer savePicturePath(SavePicturePathDto savePicturePathDto);

    Integer deleteFilesContact(DeleteFilesContactDto dto);

    PageResult findPostWithResourceCount(FindPostWithResourceCountDto findAllContactDto);

    PageResult findOnePostWithResourceContact(FindOnePostWithResourceContactDto findOnePostWithResourceContactDto);

    FindOneContentWithResourceVo findOneContentWithResource(Long contentId);
}
